package com.bestcem.xm.member.controller.v2.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 联系人下载 参数校验
 *
 * @author yf.wang <yf.wang@idiaoyan.com>
 * @version V1.0
 * @date 2021/8/9
 */

@Getter
@Setter
public class DownloadMemberQuery {

    @JsonProperty(value = "mtype")
    private Integer mType;

    private String sortBy;

    private Boolean descending;

    /**
     * 前端传无确定类型的对象过来，后端只能用Object接，此处不能使用JSONObject
     */
    private Object condition;

    @JsonProperty(value = "filter_member_ids")
    private List<String> filterMemberIds;

    private String search;

    private String orgId;

    private String userId;

    /**
     * 分组id
     */
    @JsonProperty("group_id")
    private String groupId;

    /**
     * 是否为超级管理员; 1: 是
     */
    private Integer superRole;

    /**
     * 高级管理员权限
     */
    private Integer isSenior;
}
